<template>
  <div class="cart-list">
    <cart-list-item v-for="item in cartList" :key="item.iid" class="cart-list-item" :itemInfo="item">
    </cart-list-item>
  </div>
</template>

<script>
import CartListItem from "./CartListItem";

export default {
  name: "CartList",
  components: {
    CartListItem,
  },
  computed:{
    cartList(){
      return this.$store.state.cartList
    }
  }

};
</script>

<style scoped>
  .cart-list {
    
  }

</style>